
import { Route, Routes } from "react-router-dom";
import * as pages from '@/pages'

const Container = () => {
    return (
        <Routes>
            {
                Object.values(pages).map(page => {
                    return <Route key={page.name} path={`${page.name}/*`} element={<page.component />} />
                })
            }
        </Routes>
    )
}
export default Container;